#include <sys/types.h>
#include <pwd.h>
#include <stdio.h>

int main(int argc, char const *argv[])
{
	struct passwd *p=NULL;
	p=getpwuid(501);

	printf("%s %s %d %d %s %s\n",p->pw_name,p->pw_passwd,p->pw_uid,p->pw_gid,p->pw_gecos,p->pw_dir,p->pw_shell );


	
	return 0;
}

